﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once

namespace gcmp
{
    /// \brief 模型视图相关数据发生改变前的数据接口类
    /// 
    class IModelViewPreChangeData
    {
    public:
        /// \brief 析构函数
        virtual ~IModelViewPreChangeData() {}

    };

    enum class ModelViewDetailLevel;

    /// \brief 模型视图详细程度发生改变前的数据接口类
    ///
    class IModelViewDetailLevelPreChangeData : public IModelViewPreChangeData
    {
    public:
        /// \brief 析构函数
        virtual ~IModelViewDetailLevelPreChangeData() {}

        /// \brief 获取模型视图详细程度切换前的数据
        /// \return 模型视图详细程度切换前的数据
        virtual ModelViewDetailLevel GetModelViewDetailLevelBeforeChange() const = 0;

    };

}


